You are here: Symbol Reference > Dew Namespace > Dew.Signal Namespace > Dew.Signal.Units Namespace > Classes > SignalUtils Class > SignalUtils Methods > Hanning Method > SignalUtils.Hanning Method ([In] TVec, TSignalWindowMode)
Dew Signal for .NET
ContentsIndexHome
PreviousUpNext
SignalUtils.Hanning Method ([In] TVec, TSignalWindowMode)

Hanning window.

Syntax
C#
Visual Basic
public static TVec Hanning([In] TVec Src, TSignalWindowMode WindowMode);

Applies Hanning window to Src. Window functions are applied to the signal prior to conversion to frequency domain with the FFT algorithm, to reduce the spectral leakage. Their side-effect is a lower frequency resolution. Hanning window is very widely used and sufficient for most applications. The equation for the Hanning window can be found in [1] p. 249: 

w[i] = 0.5*(1-cos(2*Pi*i/(n-1)) 

0 < i < n-1 

References:  

[1] Digital signal processing, Vinay K. Ingle and John G. Proakis, Brooks-Cole, 2000.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!